package me.zk.practice1.bean;

import org.springframework.beans.factory.DisposableBean;
import org.springframework.beans.factory.InitializingBean;

/**
 * bean的生命周期方法
 * @Author: zhang kai
 * @Date: 2021/11/11
 * @Description:
 */
public class People2 {
    public void init() {
        System.out.println("init");
    }
    public void initialize() {
        System.out.println("initialize");
    }
    public void dispose() {
        System.out.println("dispose");
    }
}
